package com.example.whatrubbish.service;

import com.example.whatrubbish.model.Feedback;
import com.example.whatrubbish.vo.Criteria;
import com.example.whatrubbish.vo.PageBean;

import java.util.List;

public interface FeedbackService {
    PageBean<Feedback> selectAllUnRead(Criteria criteria);

    PageBean<Feedback> selectAllRead(Criteria criteria);

    PageBean<Feedback> selectAllDelete(Criteria criteria);

    int updateReadById(Long feedbackId);
    int updateReadByList(List list);

    int deleteById(Long feedbackId);
    int deleteByList(List list);

    int deleteByPrimaryKey(Long feedbackId);
    int deleteByPrimaryKeyList(List list);

    int insertSelective(Feedback record);

}
